import { reactive } from "vue";
import type { FormRules } from "element-plus";
// import { isPhone } from "@pureadmin/utils";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
	taskType: [{ required: true, message: "任务类型为必填项", trigger: "change" }],
	duration: [{ required: true, message: "预估时长为必填项", trigger: "blur" }],
	assignedExtraTo: [{ required: true, message: "指派用户为必填项", trigger: "change" }],
	priority: [{ required: true, message: "优先级为必填项", trigger: "blur" }],

});
